Leat\Domain\Services\CheckoutOptInService S

Total Complexity 32
Dependencies 3
Dependents 2
Total lines 282
Lines of code 129
Logical lines of code 64
Comment lines 106
Methods 8
Properties 4

Methods 8

Method Rating Maintainability Complexity Lines of code
save_opt_in_preference()
A
50 8 28
save_opt_in_preference_blocks()
S
54 6 21
add_opt_in_checkbox()
S
54 6 19
register_checkout_field_for_blocks()
S
51 3 27
has_customer_opted_in()
S
63 3 11
get_translatable_setting()
S
67 3 8
init()
S
64 2 9
__construct()
S
70 1 6